// 导入工具函数
import tools from '@/tools'
// 用户ID
const id = tools.localRead('userId')
export default {
  insert: {
    url: '/api/user/',
    type: 'POST'
  },
  update: {
    url: `/api/user/${id}`,
    type: 'PUT'
  },
  delete: {
    url: 'delete_XXXX',
    type: 'POST'
  },
  select: {
    url: 'select_XXXX',
    type: 'GET'
  },
  selectOne: {
    url: 'selectOne_XXXX',
    type: 'GET'
  }
}
